package java67_17.jiekou.pc;

public class Kingston implements Memory {
	private String name;
	private int cap;// G作为单位

	public Kingston(String name, int cap) {
		super();
		this.name = name;
		this.cap = cap;
	}

	@Override
	public void work() {
		System.out.println("金士顿 :" + name + ",容量为" + cap + "的内存条开始工作 ");
		System.out.println("存数据,写数据");
	}

}
